<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>圣杯布局</title>
    <style>

        * {
            padding: 0;
            margin: 0;
        }
        
        .container {
            padding:0 200px;
            overflow: hidden;
        }

        .container div {
            float: left;
            position: relative;
        }

        .center {
            width: 100%;
            height: 100px;
            background: #f40;
        }

        .left {
            width: 200px;
            height: 100px; 
            background: #096;
            margin-left: -100%;
            left: -200px;
        }

        .right {
            width: 200px;
            height: 100px; 
            background: #369;
            margin-right: -200px;
        }

    
    </style>
</head>
<body>
        <div class="container">
            <div class="center">center</div>
            <div class="left">left</div>
            <div class="right">right</div>
        </div>
</body>
</html>